extern unsigned char URX1_Ready;
extern unsigned char URX2_Ready;
extern unsigned char in1_buffer[400];
extern unsigned char in2_buffer[100];
extern unsigned char OLT_MACAddr[6];
extern unsigned char MACAddrTable[20][6];
extern unsigned char grants_list[20][26];
extern unsigned char report_list[20][100];
extern unsigned int length_type;
extern unsigned long int timer_counter32;

//function decleration
void process_URX1(void);
void process_URX2(void);
void Reply_URX1(void);
void send_URX1(void);


//external function
extern unsigned char *changeLong2Byte(long DataVal);
extern void time_stamp(void);

#define onu_ctr  18
